<?php
/**
 * Layout du haut de page
 *
 * @author Cyril Souti
 * @version 1.0
 * @package layouts
 *
 */
?>

<header id="header">
    <div id="top">
        <div id="titre"></div>
        <div id="navigationSocialNetWork">
            <a href="https://plus.google.com/108434266452464511772" rel="publisher">
                <img src="<?= $this->reformatBaseUrl('/img/google-plus-logo.png') ?>" title="Google+" alt="Google+"
                     width="64" height="64"/>
            </a>
        </div>
        <div id="navigationLangues">
            <?php if (count($this->langages) > 0) : ?>
                <ul>
                    <?php
                    foreach ($this->langages as $langage) :
                        $name = $this->reformatText($langage['langage']); ?>
                        <li><a
                                href="<?= $this->reformatUrl($langage) ?>" title="<?= $name ?>"><?= $name ?></a></li>
                    <?php endforeach; ?>
                </ul>
            <?php endif; ?>
        </div>
    </div>

    <?php $this->navigationVisible(0, 6) ?>
    <nav id="topNavigation" class="menuTop"><?= $this->navigation()->menu()->setMaxDepth(0) ?></nav>
</header>
